home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / updates / update28.zoo / scm / readme.st < prev   
Text File  |  1993-02-28  |  2KB  |  59 lines

  1. Here is a port of scm for the atariST using the gcc environment
  2. (scm is a portable Scheme interpreter - jackal is a symolic math
  3. package for it):
  4.  
  5.     (assuming you use a decent shell, for instance gulam/bash/ash)
  6.     (if using gulam, make sure 'set env_style mw' (in gulam.g))
  7.  
  8. source:
  9.     from prep.ai.mit.edu retrieve scm4b2 (or whatever the latest version
  10.     is_ from the ~pub/jacal subdirectory. also get slib and jacal from
  11.     there. the enclosed diffs are with respect to scm4b2. no diffs
  12.     are required for slib or jacal (also struct, hobbit also available
  13.     from there and other scheme archives need no diffs for the atari).
  14.  
  15. compiling:
  16.     using gcc, hit "make -f makefile.st" (the -mbaserel version
  17.     runs a little faster, if you want to use that you will need
  18.     to compile yourself a version of pml with -mbaserel and
  19.     call that bpml.olb and then use make -f makefile.sti to compile)
  20.  
  21. installing:
  22.     install anywhere, say for example in d:\scm.
  23.  
  24. setting up env:    
  25.     setenv SCM_INIT_PATH /dev/D/scm/slib/init.scm
  26.     setenv SCHEME_LIBRARY_PATH /dev/D/scm/slib/
  27.         (note the trailing '/' )
  28.  
  29. testing
  30.     scm.ttp
  31.     > (load "test")
  32.  
  33. benching:
  34.     gcc -o pi.ttp pi.c
  35.     time pi 100 5
  36.  
  37.     scm.ttp
  38.     > (load "pi")
  39.     > (pi 100 5)
  40.  
  41. running jacal
  42.     cd jacal
  43.     ..\scm.ttp    (or scm.ttp in your PATH)
  44.     > (load "math")
  45.     > (math)
  46.     e0: a + 5 + 6;
  47.     e0: 11 + a
  48.     e1: < more expressions>
  49.     .....
  50.         em: batch("demo");
  51.         .....
  52.     en: qed();
  53. enjoy,
  54. --
  55. bang:   uunet!cadence!bammi            jwahar r. bammi
  56. domain: bammi@cadence.com
  57. GEnie:    J.Bammi
  58. CIS:    71515,155
  59.